<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>001</title>

  <link rel="stylesheet" href="../css/bootstrap.min.css">
  <link rel="stylesheet" href="../css/bootstrap.css">

  <script type="text/javascript" src="../js/jquery-3.2.1.min.js"></script>
  <script type="text/javascript" src="../js/vue-resource.min.js"></script>
  <script type="text/javascript" src="../js/bootstrap.min.js"></script>
  <script type="text/javascript" src="../js/vue.js"></script>
  <script type="text/javascript" src="../js/jquery.waypoints.min.js"></script>
  <script type="text/javascript" src="layui.js"></script>

  <link rel="stylesheet" href="css/layui.css" id="layui">
  <link rel="stylesheet" href="css/theme/default.css" id="theme">
  <!-- <link rel="stylesheet" href="css/kitadmin.css" id="kitadmin"> -->

  <script type="text/javascript" src="js/admin.js"></script>

  <script type="text/javascript" src="js/grid.js"></script>


</head>

<body class="layui-layout-body kit-theme-default">


  <div class="layui-layout layui-layout-admin">
    <!-- header -->
    <div class="layui-header">
      <div class="layui-logo">
       
        <div class="layui-logo-brand">
          <a href="#/">-001</a>
        </div>
      </div>
      <div class="layui-layout-left">
      
      </div>
      <div class="layui-layout-right">
         
          <div style="height:100%; margin: 12px 0;">
              <button id="logout" class="btn btn-primary btn-sm logout" data-toggle="modal" onclick="logout()"> 退出 </button>
          </div>

      </div>
    </div>
    <!-- silds -->
    <div class="layui-side" kit-side="true">
      <div class="layui-side-scroll">
        <div id="menu-box">
          <ul class="kit-menu">
            <li class="kit-menu-item">
              <a href="#/">
                <span>首页</span>
              </a>
            </li>
            <li class="kit-menu-item">
                <!-- onclick="adminmd()" -->
                <a href="#/layui/grid">
                  <span>管理</span>
                </a>
            </li>
            <li class="kit-menu-item">
                <a href="#/layui/code">
                  <span>添加文章</span>
                </a>
            </li>       
        </div>
      </div>
    </div>
    <!-- main -->
    <div class="layui-body" kit-body="true">
      <router-view></router-view>
    </div>
    <!-- footer -->
    <div class="layui-footer" kit-footer="true">
      2018 © www.redwys.xyz   redmaple-001
      <div style="width:400px; height:400px;" class="load-container load1">
        <div class="loader">Loading...</div>
      </div>
    </div>
  </div>
  <script src="polyfill.min.js"></script>
  <script src="layui.js"></script>
  <script src="kitadmin.js"></script>
  <script src="mockjs-config.js"></script>

  <script>layui.use("admin");</script>

</body>

</html>